package com.example.binjiangapp.DAO;



public class User {

    // 用户名字
    private String username;
    // 用户密码
    private String password;

    // 登录状态
    private Boolean status;

    User(){
        this.username = "";
        this.password = "";
        this.status = false;
    };
    public User(String name, String password){
        this.username = name;
        this.password = password;
        this.status = true;
    }
    public User(String name, String password,Boolean status){
        this.username = name;
        this.password = password;
        this.status = status;
    }
    public String getUsername() {
        return username;
    }

    public String getPassword() {
        return password;
    }

    public Boolean getStatus() {
        return status;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public void setStatus(Boolean status) {
        this.status = status;
    }
}
